<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/base/tag.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK rel="stylesheet" type="text/css" href="${baseurl}js/easyui/styles/default.css">
<%@ include file="/WEB-INF/jsp/base/common_css.jsp"%>
<%@ include file="/WEB-INF/jsp/base/common_js.jsp"%>
<title>顾客详情</title>
<script type="text/javascript">
  
</script>
</head>
<body>


<form id="userform" action="" method="post">
<TABLE border=0 width="100%" bgColor=#c4d8ed height="100%">
   <TBODY>
   <TR>
				<TD background=images/r_0.gif width="100%" height="100%">
					<TABLE cellSpacing=0 cellPadding=0 width="100%" height="100%">
						<TBODY>
							<TR>
								<TD align=center style="font-size: 20px">顾客详情信息</TD>
								<TD align=right>&nbsp;</TD>
							</TR>
						</TBODY>
					</TABLE>
				</TD>
			</TR>
			<TR>
				<TD>
					<TABLE class="toptable grid"  
						align=left>
						<TBODY>
							<TR>
								<TD height=40% width="10%" align=left style="font-size: 17px;padding-left: 200px">姓名：</TD>
								<TD  width="10%" align=left style="font-size: 17px">
								    ${customer.name }
								</TD>
							</TR>
							<TR>
							    <TD height=40% width="10%" align=left style="font-size: 17px;padding-left: 200px">性别：</TD>
							    <TD  width="10%" align=left style="font-size: 17px">
								  <c:if test="${customer.sex eq 0}">
								                      男
								  </c:if>
								  <c:if test="${customer.sex eq 1}">
								                      女
								  </c:if>
								   <c:if test="${customer.sex eq 2}">
								                     其他
								  </c:if>
								</TD>
							</TR>
							<TR>
							    <TD height=40% width="10%" align=left style="font-size: 17px;padding-left: 200px">星级：</TD>
							    
								    <TD width="10%" align=left style="font-size: 17px">
									    <c:if test="${customer.star eq 1 }">
										    <img src='${baseurl}images/icon-star.png'></img>
										</c:if>
										<c:if test="${customer.star eq 2 }">
										    <img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img>
										</c:if>
										<c:if test="${customer.star eq 3 }">
										    <img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img>
										</c:if>
										<c:if test="${customer.star eq 4 }">
										    </img><img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img>
										</c:if>
										<c:if test="${customer.star eq 5 }">
										    <img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img><img src='${baseurl}images/icon-star.png'></img>
										</c:if>
									</TD>
								
							</TR>
							<TR>
							    <TD height=40% width="10%" align=left style="font-size: 17px;padding-left: 200px">交易次数：</TD>
							    <TD  width="10%" align=left style="font-size: 17px">
								  ${customer.times }
								</TD>
							</TR>
							<TR>
							    <TD height=40% width="10%" align=left style="font-size: 17px;padding-left: 200px">交易额：</TD>
							    <TD width="10%" align=left style="font-size: 17px">
								  ${customer.amount }
								</TD>
							</TR>
							<TR>
							    <TD height=40% width="10%" align=left style="font-size: 17px;padding-left: 200px">电话：</TD>
							    <TD  width="10%" align=left style="font-size: 17px">
								  ${customer.mobile }
								</TD>
							</TR>
							<TR>
							    <TD height=40% width="10%" align=left style="font-size: 17px;padding-left: 200px">联系地址：</TD>
							    <TD  width="10%" align=left style="font-size: 17px">
								   ${customer.address }
								</TD>
							</TR>
							<TR>
								<TD  width="10%" align=left style="padding-left: 300px">
								    <a id="submitbtn" class="easyui-linkbutton" iconCls="icon-ok" href="#" onclick="parent.closemodalwindow()">确定</a>
								</TD>
							</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
   </TBODY>
</TABLE>

	
	
</form>
</body>
</html>